package hy.beans;

public class Result {
    boolean success;
    String storage;//后端给出的提示信息
    //封装

    @Override
    public String toString() {
        return "Result{" +
                "success=" + success +
                ", storage='" + storage + '\'' +
                '}';
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getStorage() {
        return storage;
    }

    public void setStorage(String storage) {
        this.storage = storage;
    }
}